package com.chenfan.mcn.model.vo;

import com.chenfan.mcn.enums.QuoteDataTypeEnum;
import com.chenfan.mcn.model.StarQuoteWay;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 报价方式VO
 *
 * @author wulg
 * @date 2022-01-06
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class StarQuoteWayVO extends StarQuoteWay {

    private static final long serialVersionUID = -7317988617942467648L;

    /**
     * 数据类型名称
     */
    private String dataTypeName;

    public String getDataTypeName() {
        return QuoteDataTypeEnum.getNameByType(this.getDataType());
    }
}
